import time
from selenium import webdriver
from selenium.webdriver.common.by import By

driver = webdriver.Chrome()
driver.get("https://www.baidu.com")
地 = driver.find_element(By.PARTIAL_LINK_TEXT,'地')
print(地)
print(地.get_attribute("outerHTML"))
driver.quit()